package com.divineryang.service;

import com.github.pagehelper.PageInfo;
import org.divineryang.model.dto.h5.OrderInfoDto;
import org.divineryang.model.entity.order.OrderInfo;
import org.divineryang.model.vo.h5.TradeVo;

/**
 * @author Diviner Yang
 * @version V1.0
 * @Package com.divineryang.service
 * @date 2024/5/5 19:35
 */
public interface OrderInfoService {
    TradeVo getTrade();

    Long submitOrder(OrderInfoDto orderInfoDto);

    OrderInfo getOrderInfo(Long orderId);

    TradeVo buy(Long skuId);

    PageInfo<OrderInfo> findUserPage(Integer page, Integer limit, Integer orderStatus);
}
